import ajax from "../utils/request";

// 封装一个登录的数据请求
export function loginFn (data) {
  return ajax({
    url: '/admin/login',
    method: 'poSt',
    data
  })
}
